﻿using System;
using System.Collections.Generic;
using System.Text;

namespace POSPlus.MvcPassiveView
{
	/// <summary>
	/// This object carries the message from the view to the control when the view is
	/// requesting a change to a property of the model.
	/// </summary>
	/// <typeparam name="T"></typeparam>
	public class PropertyChangeRequestEventArgs<T> : EventArgs
	{
		#region Properties
		public T RequestedValue { get; set; }
		#endregion

		#region Method
		public PropertyChangeRequestEventArgs(T pRequestedValue)
		{
			RequestedValue = pRequestedValue;
		}
		#endregion
	}
}
